package xyz.fuqufyb.aec.entity;

import java.io.Serializable;

public class ApiMapping implements Serializable {
    private Integer id;

    private String gatewayApiName;

    private String insideApiUrl;

    private Byte state;

    private String description;

    private String serviceId;

    private String idempotents;

    private String needfee;

    private static final long serialVersionUID = 1L;

    public ApiMapping(Integer id, String gatewayApiName, String insideApiUrl, Byte state, String description, String serviceId, String idempotents, String needfee) {
        this.id = id;
        this.gatewayApiName = gatewayApiName;
        this.insideApiUrl = insideApiUrl;
        this.state = state;
        this.description = description;
        this.serviceId = serviceId;
        this.idempotents = idempotents;
        this.needfee = needfee;
    }

    public ApiMapping() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGatewayApiName() {
        return gatewayApiName;
    }

    public void setGatewayApiName(String gatewayApiName) {
        this.gatewayApiName = gatewayApiName == null ? null : gatewayApiName.trim();
    }

    public String getInsideApiUrl() {
        return insideApiUrl;
    }

    public void setInsideApiUrl(String insideApiUrl) {
        this.insideApiUrl = insideApiUrl == null ? null : insideApiUrl.trim();
    }

    public Byte getState() {
        return state;
    }

    public void setState(Byte state) {
        this.state = state;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId == null ? null : serviceId.trim();
    }

    public String getIdempotents() {
        return idempotents;
    }

    public void setIdempotents(String idempotents) {
        this.idempotents = idempotents == null ? null : idempotents.trim();
    }

    public String getNeedfee() {
        return needfee;
    }

    public void setNeedfee(String needfee) {
        this.needfee = needfee == null ? null : needfee.trim();
    }
}